<!DOCTYPE html>
<html>
<head>
	<title>wisekitchen website</title>
</head>
<body>
<h1>Thi is the main Heading

	
</h1>

<h2>
	This is <b>WISE KITCHEN</b> website.
</h2>

<h3>
	
	images
</h3>

<p1><b>
	This study investigates how teachers feel about using educational technology in the classroom and what factors affect their readiness to include technology into their lesson plans. Given the increasing use of digital tools in the classroom, it is essential to comprehend educators' mindsets in order to facilitate successful technology adoption. This study explores how teachers' views and readiness to adopt educational technology are influenced by a number of factors, such as their personal beliefs, perceived ease of use, availability to resources, institutional support, and professional development opportunities.
</b>
</p>
<p2><i>Overview
This chapter highlights a general overview of the research. The chapter elaborates on the background of the research study, the statement of the problem, purpose of the study objectives, research questions significant or importance for the study, as well as scope and limitations of the study.
</i>i></p>

<p0>25<sup>th</sup> December is christmas day</p>

	<p>The amount of CO<sub>2</sub> in the air is high</p>

	<p><ol>
	    <li>First Item</li>
	    <li>Second Item</li>
	    <li>Third Item</li>
	    <li>Fourth Item</li>
	    <li>Fifth Item</li>
	    <li>Sixth Item</li>
	    <li>seventh Item</li>

	    <p><ul>
	        <li>1st Item</li>
	        <li>2nd Item</li>
	        <li>3rd Item</li>
	        <li>4th Item</li>
	    </ul></p>


	    <p><ol>
	        <li>Names</li>
	        <li>Telcos</li>
	        </ol> 
</p>
	<p>        
	        <ul>
	            <li>MTN</li>
	            <li>vodafone</li>
	            <li>Tigo</li>
	        </ul></p>
	        <p>
	        Date of Birth
	    </p>




</body>
</html>







REGISTRATION FORM

<!DOCTYPE html>
<html>
<head>
    <title>Registration Form</title>
</head>
<body>

    <a href="index.html">Back to Home Page</a>

    <form action="process.php" target="_blank">

      <p>
        <label for="fullname">Full Name:</label>
        <input type="text" id="fullname" name="fullname" placeholder="Enter your full name">
      </p>

      <p>
        <label for="username">Username:</label>
        <input type="text" id="username" name="username" placeholder="Choose a username">
      </p>

      <p>
        <label for="password">Password:</label>
        <input type="password" id="password" name="password" placeholder="Create a password">
      </p>

      <p>
        <label for="email">Email:</label>
        <input type="email" id="email" name="email" placeholder="Enter your email">
      </p>

      <p>
        <label for="dob">Date of Birth:</label>
        <input type="date" id="dob" name="dob">
      </p>

      <p>
        <label for="phone">Phone Number:</label>
        <input type="tel" id="phone" name="phone" placeholder="Enter phone number">
      </p>

      <p>
        <label for="gender">Gender:</label>
        <select id="gender" name="gender">
          <option value="">Select Gender</option>
          <option value="male">Male</option>
          <option value="female">Female</option>
          <option value="other">Other</option>
        </select>
      </p>

      <p>
        <button type="submit">Register</button>
      </p>

    </form>

</body>
</html>





PHP

<?php

$age=17;
$name= "Ama";
$amount=5.6;

print $age;

echo "<br>";
echo $name;. " is" .$age;

$car= array("bmw","benz","Toyota");
var_dump($car)

?>




REGISTRATION FORM CODE
<?php

error_reporting(E_ALL);
ini_set('display_errors', 1);

// Retrieve form data using POST
$fullname = $_POST['fullname'];
$username = $_POST['username'];
$password = $_POST['password'];
$email = $_POST['email'];
$dob = $_POST['dob'];
$mobile = $_POST['mobile'];
$gender = $_POST['gender'];

// Display the submitted data
echo "<h2>Registration Summary</h2>";
echo "Full Name: $fullname<br>";
echo "Username: $username<br>";
echo "Password: $password<br>"; 
echo "Email: $email<br>";
echo "Date of Birth: $dob<br>";
echo "Phone Number: $mobile<br>";
echo "Gender: $gender<br>";

// ✅ Establish a connection to the database
$conn = new mysqli('localhost', 'root', 'wesdomk7756', 'reg');

// ✅ Check if the connection has failed
if ($conn->connect_error) {
    die("Connection failed: " . $conn->connect_error);
}

// ✅ Prepare the SQL INSERT statement
$stmt = $conn->prepare("INSERT INTO registration (fullname, username, password, email, dob, mobile, gender) VALUES (?, ?, ?, ?, ?, ?, ?)");

// ✅ Bind parameters to the statement
$stmt->bind_param("sssssss", $fullname, $username, $password, $email, $dob, $mobile, $gender);

// ✅ Execute the statement and check result
if ($stmt->execute()) {
    echo "<br> Registration Done Successfully!";
} else {
    echo "<br> Error: " . $stmt->error;
}

// ✅ Close connections
$stmt->close();
$conn->close();
?>




REGISTRATION FORM CODE 
<!DOCTYPE html>
<html>
<head>
    <title>Registration Form</title>
</head>
<body>

    <a href="index.html">Back to Home Page</a>

    <form action="process.php" target="_blank" method="POST">

      <p>
        <label for="fullname">Full Name:</label>
        <input type="text" id="fullname" name="fullname" placeholder="Enter your full name">
      </p>

      <p>
        <label for="username">Username:</label>
        <input type="text" id="username" name="username" placeholder="Choose a username">
      </p>

      <p>
        <label for="password">Password:</label>
        <input type="password" id="password" name="password" placeholder="Create a password">
      </p>

      <p>
        <label for="email">Email:</label>
        <input type="email" id="email" name="email" placeholder="Enter your email">
      </p>

      <p>
        <label for="dob">Date of Birth:</label>
        <input type="date" id="dob" name="dob">
      </p>

      <p>
        <label for="mobile">Phone Number:</label>
        <input type="tel" id="phone" name="phone" placeholder="Enter phone number">
      </p>

      <p>
        <label for="gender">Gender:</label>
        <select id="gender" name="gender">
          <option value="">Select Gender</option>
          <option value="male">Male</option>
          <option value="female">Female</option>
          <option value="other">Other</option>
        </select>
      </p>

      <p>
        <button type="submit">Submit</button>
      </p>

    </form>

</body>
</html>


